﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DbGenerator.Model.attributes.types
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class TEntityAttribute : Attribute
    {
        #region ctors
        public TEntityAttribute(string tableName, string tableSchema)
        {
            _TableName = tableName;
            _TableSchema = tableSchema;
        }
        #endregion

        #region properties
        private string _TableSchema;
        public string TableSchema
        {
            get { return _TableSchema; }
        }
        private string _TableName;
        public string TableName
        {
            get { return _TableName; }
        }
        #endregion
    }
}
